//
//  ViewController.m
//  APIdemo
//
//  Created by student on 16/3/29.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "ViewController.h"
#import "NetManager.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UITextField *idtext;
@property (weak, nonatomic) IBOutlet UITextView *resulttext;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)b1:(id)sender
{
    self.resulttext.text=[NetManager requsetinfobypersonid:self.idtext.text];
}

@end
